% This file was created by matlab2tikz v0.2.0.
% Copyright (c) 2008--2012, Nico Schlömer <nico.schloemer@gmail.com>
% All rights reserved.
% 
% The latest updates can be retrieved from
%   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz
% where you can also make suggestions and rate matlab2tikz.
% 
% 
% 
\begin{tikzpicture}

\begin{axis}[%
width=0.4\textwidth,
height=0.315483870967742\textwidth,
scale only axis,
xmin=1, xmax=9,
xlabel={n},
ymin=-1, ymax=5.33021598157228,
ylabel={Cost of the inverses (log scale)},
axis lines=left,
axis on top,
legend style={at={(0.03,0.97)},anchor=north west,nodes=right}]
\addplot [
color=blue,
solid
]
coordinates{
 (1,0)(2,0.406317708140787)(3,0.85606187154047)(4,1.49375628833006)(5,1.88105318124437)(6,2.41533866439043)(7,2.94805845535604)(8,3.47146430403943)(9,4.1080119155208) 
};

\addlegendentry{k = 0.1};

\addplot [
color=green!50!black,
solid
]
coordinates{
 (1,0)(2,0.63292856044956)(3,1.03618135222113)(4,1.55656894562698)(5,1.98820335123557)(6,2.44703833844038)(7,3.07479070326682)(8,3.52124726561911)(9,4.21392043359164) 
};

\addlegendentry{k = 1};

\addplot [
color=red,
solid
]
coordinates{
 (1,0)(2,0.447173819215355)(3,0.960148227913816)(4,1.62791015057029)(5,2.067844273893)(6,2.61829271386131)(7,3.17662165439323)(8,3.71050714428958)(9,4.33021598157228) 
};

\addlegendentry{k = 10};

\addplot [
color=black,
solid,
forget plot
]
coordinates{
 (1,0)(2,0.301029995663981)(3,0.602059991327962)(4,0.903089986991944)(5,1.20411998265592)(6,1.50514997831991)(7,1.80617997398389)(8,2.10720996964787)(9,2.40823996531185) 
};

\addplot [
color=black,
dashed,
forget plot
]
coordinates{
 (1,0)(2,0.602059991327962)(3,1.20411998265592)(4,1.80617997398389)(5,2.40823996531185)(6,3.01029995663981)(7,3.61235994796777)(8,4.21441993929574)(9,4.8164799306237) 
};

\addplot [
color=black,
dotted,
forget plot
]
coordinates{
 (1,0)(2,0.451544993495972)(3,0.903089986991944)(4,1.35463498048792)(5,1.80617997398389)(6,2.25772496747986)(7,2.70926996097583)(8,3.1608149544718)(9,3.61235994796777) 
};

\end{axis}
\end{tikzpicture}
